# "E: Failed to change to directory '...': Permission denied"
cd /
- /home/git/hooks/cyclo/cyclo-3615/post-update.ikiwiki &
+ umask 002
exec /home/git/hooks/cyclo/$site/post-update.ikiwiki
EOF
git submodule update --recursive --init'
else
sudo -u wiki-"$site" sh -$-c ' \
- umask 007 &&
+ umask 002 &&
git clone \
git@localhost:cyclowiki \
/home/cyclo/var/ikiwiki/'"'$site'"'/src &&
cd /home/cyclo/var/ikiwiki/'"'$site'"'/src &&
- git config core.sharedRepository all &&
+ git config core.sharedRepository 0664 &&
git submodule update --recursive --init
'
fi